package com.authine.cloudpivot.ext.dto.transfer;

import com.authine.mvp.app.launcher.domain.SelectorFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * 会员采购订单商品表
 */
@Data
@Schema(description = "MemberPurchaseOrderGoodsDto")
@ApiModel("会员采购订单商品表")
public class MemberPurchaseOrderGoodsDto {
    @Schema(description = "会员转采订单ID商品")
    private String id;
    @Schema(description = "采购单PO单号")
    private String member_purchase_order_id;
    @Schema(description = "转采订单商品ID")
    private String transfer_order_goods_id;
    @Schema(description = "采购单价(含税)")
    private BigDecimal price;
    @Schema(description = "采购单价(未税)")
    private BigDecimal pre_price;
    @Schema(description = "采购运费")
    private BigDecimal freight;
    @Schema(description = "采购数量")
    private BigDecimal num;
    @Schema(description = "毛利率")
    private BigDecimal gross_profit_rate;
    @Schema(description = "采购商品总计")
    private BigDecimal amount;
    @Schema(description = "采购商品未税总计")
    private BigDecimal pretax_amount;
    @Schema(description = "交货日期")
    private String delivery_time;
    @Schema(description = "备注")
    private String memo;
    @Schema(description = "发票状态")
    private String invoice_status;
    @Schema(description = "采购单状态")
    private String purchase_status;
    @Schema(description = "退货数量")
    private BigDecimal refund_num;
    @Schema(description = "是否删除")
    private Boolean del;
    @Schema(description = "采购批次")
    private Integer purchase_batch;
    @Schema(description = "预计到货时间")
    private String arrival_time;
    @Schema(description = "发货数量")
    private BigDecimal delivery_number;
    @Schema(description = "物流名称")
    private String logistics_name;
    @Schema(description = "物流单号")
    private String logistics_number;
    @Schema(description = "供应商回复交期备注")
    private String delivery_memo;
    @Schema(description = "维护物流时间")
    private String maintenance_logistics_time;
    @Schema(description = "维护物流人")
    private SelectorFormat maintenance_logistics_user;
    @Schema(description = "云平台订单号")
    private String cloud_order_id;
    @Schema(description = "云平台订单商品号")
    private String cloud_order_goods_id;
    @Schema(description = "采购单PO单号")
    private String po_code;
    @Schema(description = "采购员名称")
    private String buyer;
    @Schema(description = "供应商名称")
    private String vendor_name;
    @Schema(description = "采购单付款状态")
    private String member_purchase_order_status;
    @Schema(description = "采购订单商品状态")
    private String member_purchase_goods_status;
    @Schema(description = "付款方式")
    private String payment_id;
    @Schema(description = "发票类型")
    private String invoice_type;
    @Schema(description = "商品名称")
    private String name;
    @Schema(description = "采购总价")
    private String purchase_amount;
    @Schema(description = "品牌")
    private String brand;
    @Schema(description = "型号")
    private String model;
    @Schema(description = "采购单日期")
    private List<String> createdTime;
    @Schema(description = "是否退货")
    private Boolean is_return;
    @Schema(description = "pageIndex")
    private Integer pageIndex;
    @Schema(description = "pageSize")
    private Integer pageSize;
}
